package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.GiftCardUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: chen
 * @Description: 区域礼品卡用户余额
 * @Date: 创建于 14:30 2020/1/3
 */
public interface GiftCardUserService {
    /**
     * 通过用户id获取
     */
    GiftCardUser getByUserId(Integer userId, Integer accountId);

    /**
     * 新增
     */
    void insert(GiftCardUser giftCardUser, String remark, Integer businessType, String orderNO, String dateTime);


    List<GiftCardUser> getListByUserId(Integer userId);

}
